package com.example.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@Slf4j
public class UsersController {
    @RequestMapping("/log")
    @ResponseBody
    public String printLog() {
        log.error("error");
        return "Log";
    }
}
